# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

DESCRIPTION="Awale is the official board game of Africa."
HOMEPAGE="http://gna.org/projects/pyawale/"
SRC_URI="http://download.gna.org/pyawale/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="${RDEPEND}"
RDEPEND="dev-lang/python"

src_unpack() {
	distutils_src_unpack
	cd ${S}
	sed -i -e "s:awale.html:pyawale.html:" \
		   -e "s:.png:.jpg:g" setup.py || die "sed failed."
}
